/**
 * 
 */
package metalink.admin;

import com.opensymphony.xwork2.ActionSupport;

import model.admin.StudentFinanceMo;

/**
 * @author Sony
 *
 */
public class DeleteTransactions extends ActionSupport{
	String[] t_id;
	int student_id;
	int year_semester_id;
public String execute()
{
	setStudent_id(student_id);
	setYear_semester_id(year_semester_id);
	System.out.println("in delete : "+year_semester_id+student_id);
	StudentFinanceMo mo=new StudentFinanceMo();
	for (String single_t_id : t_id) {
		mo.deleteTransaction(single_t_id,"Delete Transaction");
	}

	return SUCCESS;
}

public int getYear_semester_id() {
	return year_semester_id;
}

public void setYear_semester_id(int year_semester_id) {
	this.year_semester_id = year_semester_id;
}

public String[] getT_id() {
	return t_id;
}
public void setT_id(String[] t_id) {
	this.t_id = t_id;
}
public int getStudent_id() {
	return student_id;
}
public void setStudent_id(int student_id) {
	this.student_id = student_id;
}

}
